package com.hnust.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hnust.entity.Alarm;
import com.hnust.entity.dto.AlarmDto;

/**
 * 创建人：zhangRuWang
 * 创建时间：2022/5/5
 * 描述：
 */
public interface AlarmService extends IService<Alarm> {
    Page<AlarmDto> alarmSearch(int page, int pageSize, String beginTime, String endTime);

    void alarmToDto(AlarmDto alarmDto,Alarm alarm);
}
